<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>minid.array</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "minid.array";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/minid.array.html" class="symbol">minid.array</a></h1>
  
<p class="sec_header">License:</p>Copyright (c) 2008 Jarrett Billingsley
<p class="bl"/>
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the
use of this software.
<p class="bl"/>
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it freely,
subject to the following restrictions:
<p class="bl"/>
    1. The origin of this software must not be misrepresented; you must not
	claim that you wrote the original software. If you use this software in a
	product, an acknowledgment in the product documentation would be
	appreciated but is not required.
<p class="bl"/>
    2. Altered source versions must be plainly marked as such, and must not
	be misrepresented as being the original software.
<p class="bl"/>
    3. This notice may not be removed or altered from any source distribution.
<dl>
<dt class="decl">struct <a class="symbol _struct" name="array" href="./htmlsrc/minid.array.html#L33" kind="struct" beg="33" end="250">array</a>; <a title="Permalink to this symbol" href="#array" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L33">#</a></dt>
<dd class="ddef">
<dl>
<dt class="decl">MDArray* <a class="symbol _function" name="array.create" href="./htmlsrc/minid.array.html#L41" kind="function" beg="41" end="47">create</a><span class="params">(ref Allocator <em>alloc</em>, uword <em>size</em>)</span>; <span class="attrs">[<span class="prot">package</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#array.create" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L41">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="array.free" href="./htmlsrc/minid.array.html#L50" kind="function" beg="50" end="53">free</a><span class="params">(ref Allocator <em>alloc</em>, MDArray* <em>a</em>)</span>; <span class="attrs">[<span class="prot">package</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#array.free" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L50">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="array.freeData" href="./htmlsrc/minid.array.html#L56" kind="function" beg="56" end="59">freeData</a><span class="params">(ref Allocator <em>alloc</em>, MDArrayData* <em>d</em>)</span>; <span class="attrs">[<span class="prot">package</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#array.freeData" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L56">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="array.resize" href="./htmlsrc/minid.array.html#L62" kind="function" beg="62" end="89">resize</a><span class="params">(ref Allocator <em>alloc</em>, MDArray* <em>a</em>, uword <em>newSize</em>)</span>; <span class="attrs">[<span class="prot">package</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#array.resize" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L62">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">MDArray* <a class="symbol _function" name="array.slice" href="./htmlsrc/minid.array.html#L92" kind="function" beg="92" end="99">slice</a><span class="params">(ref Allocator <em>alloc</em>, MDArray* <em>a</em>, uword <em>lo</em>, uword <em>hi</em>)</span>; <span class="attrs">[<span class="prot">package</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#array.slice" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L92">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="array.sliceAssign" href="./htmlsrc/minid.array.html#L102" kind="function" beg="102" end="115">sliceAssign</a><span class="params">(MDArray* <em>a</em>, uword <em>lo</em>, uword <em>hi</em>, MDArray* <em>other</em>)</span>; <span class="attrs">[<span class="prot">package</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#array.sliceAssign" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L102">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="array.setBlock" href="./htmlsrc/minid.array.html#L118" kind="function" beg="118" end="131">setBlock</a><span class="params">(ref Allocator <em>alloc</em>, MDArray* <em>a</em>, uword <em>block</em>, MDValue[] <em>data</em>)</span>; <span class="attrs">[<span class="prot">package</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#array.setBlock" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L118">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">bool <a class="symbol _function" name="array.contains" href="./htmlsrc/minid.array.html#L134" kind="function" beg="134" end="141">contains</a><span class="params">(MDArray* <em>a</em>, ref MDValue <em>v</em>)</span>; <span class="attrs">[<span class="prot">package</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#array.contains" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L134">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">MDArray* <a class="symbol _function" name="array.cat" href="./htmlsrc/minid.array.html#L144" kind="function" beg="144" end="150">cat</a><span class="params">(ref Allocator <em>alloc</em>, MDArray* <em>a</em>, MDArray* <em>b</em>)</span>; <span class="attrs">[<span class="prot">package</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#array.cat" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L144">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">MDArray* <a class="symbol _function" name="array.cat:2" href="./htmlsrc/minid.array.html#L153" kind="function" beg="153" end="159">cat</a><span class="params">(ref Allocator <em>alloc</em>, MDArray* <em>a</em>, MDValue* <em>v</em>)</span>; <span class="attrs">[<span class="prot">package</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#array.cat:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L153">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="array.append" href="./htmlsrc/minid.array.html#L162" kind="function" beg="162" end="167">append</a><span class="params">(ref Allocator <em>alloc</em>, MDArray* <em>a</em>, MDArray* <em>b</em>)</span>; <span class="attrs">[<span class="prot">package</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#array.append" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L162">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="array.append:2" href="./htmlsrc/minid.array.html#L170" kind="function" beg="170" end="174">append</a><span class="params">(ref Allocator <em>alloc</em>, MDArray* <em>a</em>, MDValue* <em>v</em>)</span>; <span class="attrs">[<span class="prot">package</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#array.append:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L170">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">MDArrayData* <a class="symbol _function" name="array.allocData" href="./htmlsrc/minid.array.html#L183" kind="function" beg="183" end="202">allocData</a><span class="tparams">(bool overallocate)</span><span class="params">(ref Allocator <em>alloc</em>, uword <em>size</em>)</span>; <span class="attrs">[<span class="prot">private</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#array.allocData" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L183">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="array.DataSize" href="./htmlsrc/minid.array.html#L205" kind="function" beg="205" end="208">DataSize</a><span class="params">(uword <em>length</em>)</span>; <span class="attrs">[<span class="prot">private</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#array.DataSize" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L205">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _function" name="array.largerPow2" href="./htmlsrc/minid.array.html#L213" kind="function" beg="213" end="239">largerPow2</a><span class="tparams">(bool ct = false)</span><span class="params">(uword <em>n</em>)</span>; <span class="attrs">[<span class="prot">private</span>, <span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#array.largerPow2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L213">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _variable" name="array.PageSize" href="./htmlsrc/minid.array.html#L243" kind="variable" beg="243" end="243">PageSize</a>; <span class="attrs">[<span class="prot">private</span>, <span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#array.PageSize" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L243">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _variable" name="array.ElemsInPage" href="./htmlsrc/minid.array.html#L246" kind="variable" beg="246" end="246">ElemsInPage</a>; <span class="attrs">[<span class="prot">private</span>, <span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#array.ElemsInPage" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L246">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uword <a class="symbol _variable" name="array.LargestPow2" href="./htmlsrc/minid.array.html#L249" kind="variable" beg="249" end="249">LargestPow2</a>; <span class="attrs">[<span class="prot">private</span>, <span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#array.LargestPow2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/minid.array.html#L249">#</a></dt>
<dd class="ddef"></dd></dl></dd></dl>
</div>
<div id="footer">
  <p></p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 03:29:16 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>